package com.mxfcode.back.service;

import com.mxfcode.back.dto.PermissionDTO;
import com.mxfcode.bbs_common.response.PageDataResult;
import com.mxfcode.entity.TSPermission;

import java.util.List;
import java.util.Map;

/**
 * @接口名 PermissionService
 * @描述 TODO
 * @作者 mxf
 * @创建日期 2021-03-05 14:01
 **/
public interface PermissionService {
    PageDataResult getPermissionList(Integer pageNum, Integer pageSize);

    List<PermissionDTO> parentPermissionList();

    Map<String, Object> addPermission(TSPermission permission);

    Map<String, Object> updatePermission(TSPermission permission);

    Map<String, Object> del(Integer id);
}
